﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AsyncProgressNotify
{
	static class MyTaskFactory
	{
		public static MyTask[] CreateTasks()
		{
			// create some random tasks
			var result = Enumerable
				.Range(1, 20)
				.Select(i => new MyTask() { Name = "Task " + i.ToString() })
				.ToArray();

			return result;
		}
	}
}
